Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase test coverage #12

Merged
merged 42 commits into from
Sep 27, 2024
Merged

Increase test coverage #12

merged 42 commits into from
Sep 27, 2024

Conversation

jdogmcsteezy
Copy link
Member

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 88.72727% with 31 lines in your changes missing coverage. Please review.

Project coverage is 93.10%. Comparing base (97c1df4) to head (28bcc99).

Files with missing lines Patch % Lines
connection_provider.go 81.63% 20 Missing and 7 partials ⚠️
client.go 95.94% 3 Missing ⚠️
utils.go 96.87% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #12       +/-   ##
===========================================
+ Coverage   21.33%   93.10%   +71.76%     
===========================================
  Files          18        7       -11     
  Lines        5717     2002     -3715     
===========================================
+ Hits         1220     1864      +644     
+ Misses       4408      108     -4300     
+ Partials       89       30       -59     
Flag Coverage Δ
93.10% <88.72%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@dwelch-spike dwelch-spike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments. Also linting is failing

client.go Outdated Show resolved Hide resolved
client.go Outdated Show resolved Hide resolved
connection_provider.go Show resolved Hide resolved
connection_provider.go Outdated Show resolved Hide resolved
connection_provider.go Outdated Show resolved Hide resolved
Comment on lines 107 to 108
grpcConnFactory func(hostPort *HostPort) (grpcClientConn, error) // For testing
connFactory func(conn grpcClientConn) *connection // For testing
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would take those out to test utilities.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still thinking about how to best clean this up.

connection_provider.go Outdated Show resolved Hide resolved
makefile Outdated Show resolved Hide resolved
testutils.go Outdated Show resolved Hide resolved
token_manager.go Show resolved Hide resolved
connection_provider.go Outdated Show resolved Hide resolved
docker/auth/docker-compose.yml Outdated Show resolved Hide resolved
connection_provider.go Outdated Show resolved Hide resolved
@jdogmcsteezy jdogmcsteezy merged commit 75ef3da into main Sep 27, 2024
2 of 4 checks passed
@jdogmcsteezy jdogmcsteezy deleted the increase-test-coverage branch September 27, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants